Replication.Rmd produces an html document containing all tables and figures for "Electoral Administration in Fledgling Democracies: Experimental Evidence from Kenya". To run this file, open the Rmd in Rstudio, and click knit.

Replication.Rmd requires the following following datasets:
datalong.Rds: longform polling station-day dataset.
datashort.Rds: shortform polling station dataset.
exval.rds: data for external validity figure in appendix.
fig1.rds: data for figure 1.

00_Helper_Cluster.R contains functions to assist in the calculation of appropriate clustered standard errors.

Replication.Rmd will create a folder called "output" to which it writes tables (as tex files) and figures (as tiff files) for the paper and appendices. Data will be stored in a directory called "data", which is also created by the Rmd.

Prior to running, you will want to change line 47 of the Rmd to your working directory in which the Rmd file, this readme, and the data directory reside.
